//
//  Kratos_HttpResponse.h
//  kk_framework
//
//  Created by 7yao.top on 2018/11/7.
//  Copyright © 2018年 7yao.top. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Kratos_HttpConstant.h"
@interface Kratos_HttpResponse : NSObject
@property (nullable, nonatomic, copy) NSData *Kra_rawData;
@property (nonatomic, assign) Kratos_HttpResponseStatus Kra_status;
@property (nullable, nonatomic, copy) id Kra_content;
@property (nonatomic, assign) NSInteger Kra_statueCode;
@property (nonatomic, assign) NSInteger Kra_requestId;
@property (nonnull, nonatomic, copy) NSURLRequest *Kra_request;

- (nonnull instancetype)initWithRequestId:(nonnull NSNumber *)requestId
                                  Kratos_request:(nonnull NSURLRequest *)request
                             Kratos_responseData:(nullable NSData *)responseData
                                   Kratos_status:(Kratos_HttpResponseStatus)status;

- (nonnull instancetype)initWithRequestId:(nonnull NSNumber *)requestId
                                  Kratos_request:(nonnull NSURLRequest *)request
                             Kratos_responseData:(nullable NSData *)responseData
                                    Kratos_error:(nullable NSError *)error;


@end
